home *** CD-ROM | disk | FTP | other *** search
- !Include("../UIDef/UI.def")
- //------ UI stuff -----------------------------
- Interface("UI_TEST")
- {
- Command(1)
- Notify(1)
- CanFocus(0)
- TextureFocusAlpha(1.0)
- TextFocusAlpha(1.0)
- SelKeyUp(-1)
- SelKeyDown(15)
- ForceTextLowerCase()
- Text("TEST")
- TextAlpha(1.0)
- TextColor(1.0,1.0,1.0)
- Font("MenuSmall")
- FontScale(0.5)
- TextPosFlags(34)
- Mouse(1)
- Keyboard(1)
- Joy(1)
- Visible(1)
- ParentPositioning(0)
- PreviousElemPositioning(0)
- ParentAlignX(-1)
- ParentAlignY(-1)
- ParentSizingX(0)
- ParentSizingY(0)
- TextureAlpha(1.0)
- LogicSize(0.18375,0.2)
- LogicPos(0.38125,0.33666667)
-
- Menu("UIMenu","ID_MENU1","Specific")
- {
- Command(1)
- Notify(1)
- CanFocus(1)
- TextureFocusAlpha(1.0)
- TextFocusAlpha(1.0)
- SelKeyUp(200)
- SelKeyDown(208)
- ForceTextLowerCase()
- Text("")
- TextAlpha(1.0)
- TextColor(1.0,1.0,1.0)
- Font("MenuSmall")
- FontScale(0.5)
- TextPosFlags(34)
- Mouse(1)
- Keyboard(1)
- Joy(0)
- Visible(1)
- ParentPositioning(0)
- PreviousElemPositioning(0)
- ParentAlignX(-1)
- ParentAlignY(-1)
- ParentSizingX(0)
- ParentSizingY(0)
- TextureAlpha(1.0)
- LogicSize(0.2,0.2)
- LogicPos(0.1,0.1)
-
- MenuButton("UIMenuButton","ID_BUTTON1","BUTTON","","Specific")
- {
- Checked(0)
- Disabled(0)
- CanCallPress(0)
- CanCheck(0)
- MouseLeaveDestroyFocus(1)
- TextureCheckedAlpha(1.0)
- TextCheckedAlpha(1.0)
- TextureDisabledAlpha(1.0)
- TextDisabledAlpha(1.0)
- TextureFocusCheckAlpha(1.0)
- TextFocusCheckAlpha(1.0)
- CallPressPeriod(0.1)
- DoubleClick(0.3)
- Command(1)
- Notify(1)
- CanFocus(1)
- TextureFocusAlpha(1.0)
- TextFocusAlpha(1.0)
- SelKeyUp(200)
- SelKeyDown(208)
- ForceTextLowerCase()
- Text("BUTTON")
- TextAlpha(1.0)
- TextColor(1.0,1.0,1.0)
- Font("MenuSmall")
- FontScale(0.5)
- TextPosFlags(34)
- Mouse(1)
- Keyboard(1)
- Joy(0)
- Visible(1)
- ParentPositioning(1)
- PreviousElemPositioning(0)
- ParentAlignX(-1)
- ParentAlignY(-1)
- ParentSizingX(0)
- ParentSizingY(0)
- TextureAlpha(1.0)
- LogicSize(0.2,0.2)
- LogicPos(0.1,0.1)
- }// [UIMenuButton] ID_BUTTON1
- }// [UIMenu] ID_MENU1
-
-
- EditTexture("er_t_red.png")
- EditBorderWidth(2.0)
- EditBorderSens(3.0)
- EditCursor("c_arrow.png")
- EditCursorSize("c_resize.png")
- EditCursorMove("c_move.png")
- Cursor("cursor.png")
- }
-